	<div class="w_top">
		<div class="logo"><a href="index.php"><img src="templates/app/images/logo.gif" width="114" height="37" border="0" /></a></div>
    	<div class="top_menu">
    		<ul class="navt">
    			<li class="m"><span><a href="index.php">首页</a></span></li>
    			<li class="m"><span><a href="index.php?mod=channel" class="r_more">频道</a></span>
    			<div class="nav2 n1">
    					<ul>
    						<li><a href="index.php?mod=channel&type=xyyc">咸阳烟草</a></li>
    						<li><a href="index.php?mod=channel&type=gyqy">卷烟企业</a></li>
    						<li><a href="index.php?mod=channel&type=kh">零售终端</a></li>
    						<li class="nob"><a href="index.php?mod=channel&type=yh">特邀用户</a></li>
    					</ul>
    				</div>
    			</li>
    			 <li class="m"><span><a href="index.php?mod=qun"  class="r_more">微群</a></span>
    			 <div class="nav2 n2">
    					<ul>
    						<li><a href="index.php?mod=qun&code=profile" class="qun_icon">我的微群</a></li>
    						<li><a href="index.php?mod=qun&code=profile" class="qun_c1">卷烟企业<span>1</span></a></li>
    						<li><a href="index.php?mod=qun&code=profile" class="qun_c2">SKYDESIGN</a></li>
    						<li><a href="index.php?mod=qun&code=profile" class="qun_c3">我的家园</a></li>
    					</ul>
    					<div class="act"><a href="index.php?mod=qun">管理/查看更多微群</a></div>
    				</div>
    			 </li>
    			 <li class="m"><span><a href="index.php?mod=brandindex" class="r_more">品牌</a></span>
    			 <div class="nav2 n3">
    					<ul>
    						<li><a href="index.php?mod=brandindex&code=nav">品牌导航</a></li>
    						<li><a href="index.php?mod=brandindex&code=company">企业介绍</a></li>
    						<li><a href="index.php?mod=brandindex&code=activity">最新活动</a></li>
    						<li class="nob"><a href="index.php?mod=brandindex&code=favorite">我的收藏</a></li>
    					</ul>
    				</div>
    			 </li>
    			 <li class="m"><span><a href="index.php?mod=app" class="r_more">应用</a></span>
    			 <div class="nav2 n4">
    					<ul>
    						<li><a href="index.php?mod=app" class="appicon_1">我的应用</a></li>
    						<li><a href="index.php?mod=app&code=blogindex" class="appicon_2">日志</a></li>
    						<li><a href="index.php?mod=video" class="appicon_3">视频</a></li>
    						<li><a href="index.php?mod=vote" class="appicon_4">投票</a></li>
    						<li><a href="index.php?mod=photo" class="appicon_5">相册</a></li>
    						<li class="nob"><a href="index.php?mod=tie" class="appicon_6">招贴</a></li>
    					</ul>
    				</div>
    			 </li>
    			 <li class="m"><span><a href="index.php?mod=ranking" class="r_more">榜单</a></span>
    			 <div class="nav2 n5">
    					<ul>
    						<li><a href="index.php?mod=ranking&code=fans">周粉丝人气榜</a></li>
    						<li><a href="index.php?mod=ranking&code=topic">周热点话题榜</a></li>
    						<li><a href="index.php?mod=ranking&code=brand">周品牌人气榜</a></li>
    						<li class="nob"><a href="index.php?mod=ranking&code=my">我品牌销售榜</a></li>
    					</ul>
    				</div>
    			 </li>
    		</ul>
      </div>
    	 <div class="top_menu_user">
 <form method="get" action="#" name="headSearchForm" id="headSearchForm" onsubmit="return headDoSearch();">
   	  <div class="top_search">
   	 		    <input id="headSearchType" name="searchType" type="hidden" value="userSearch">
            	<input class="top_search_input" id="headq" name="headSearchValue" type="text" value="请输入关键字" onfocus="this.value=''"/>
                <button type="button" class="top_search_but" onclick="javascript:return headDoSearch();"> </button>
       </div>
  </form>
		<?php if( MEMBER_ID > 0 ){ ?>
			<div class="user_nav">
      			<span>
      				<h3><a href="#">消息</a></h3>
          <?php 
		  $tmp_str = "";
		  if ($__my['newpm']>0) { 
		    $tmp_str .= '<li><a href="index.php?mod=pm&code=list">新私信 +'.$__my['newpm'].'</a></li>';
          }
		  if ($__my['comment_new']>0){ 
            $tmp_str .= '<li><a href="index.php?mod=topic&code=mycomment">新评论 +'.$__my['comment_new'].'</a></li>';
          } 
		  if ($__my['fans_new']>0) {
            $tmp_str .= '<li><a href="index.php?mod='.$__my['username'].'&code=fans">关注我 +'.$__my['fans_new'].'</a></li>';
          } 
		  if ($__my['at_new']>0) { 
            $tmp_str .= '<li><a href="index.php?mod=topic&code=myat">@提到我 +'.$__my['at_new'].'</a></li>';
          } 
		  if ($__my['favoritemy_new']>0) { 
            $tmp_str .= '<li><a href="index.php?mod=topic&code=favoritemy">收藏我的微博 +'.$__my['favoritemy_new'].'</a></li>';
          } 
		  if ($__my['vote_new']>0) { 
		    $tmp_str .= '<li><a href="index.php?mod=vote&view=me&filter=new_update&uid='.$__my['uid'].'">投票参与 +'.$__my['vote_new'].'</a></li>';
		  } 
		  if ($__my['qun_new']>0) { 
		    $tmp_str .= '<li><a href="index.php?mod=topic&code=qun">微群内容 +'.$__my['qun_new'].'</a></li>';
		  } 
		  if ($__my['event_new']>0) { 
            $tmp_str .= '<li><a href="index.php?mod=event&code=myevent&type=new">活动报名 +'.$__my['event_new'].'</a></li>';
          } 
		  if ($__my['topic_new']>0) { 
            $tmp_str .= '<li><a href="index.php?mod=topic&code=tag">话题微博 +'.$__my['topic_new'].'</a></li>';
          } 
		  if ($__my['event_post_new']>0) { 
            $tmp_str .= '<li><a href="index.php?mod=topic&code=other&view=event">关注活动 +'.$__my['event_post_new'].'</a></li>';
          } 
		  if ($__my['fenlei_post_new']>0) { 
            $tmp_str .= '<li><a href="index.php?mod=topic&code=other&view=fenlei">关注分类 +'.$__my['fenlei_post_new'].'</a></li>';
          } 
		  if( $tmp_str!="" ){
		    echo "\t<div class=\"unav2\">\n<ul>$tmp_str</ul>\n</div>\n";
		  }
		  ?>
      			</span>
      			<span>
      				<h3><a title="<?php echo MEMBER_NICKNAME ;?>" href="index.php?mod=<?php echo MEMBER_NAME;?>"><?php echo MEMBER_NICKNAME;?></a></h3>
      				<div class="unav2">
      					<ul>
      						<li><a href="index.php?mod=settings">账号设置</a></li>
      						<li><a href="index.php?mod=profile&code=invite">邀请注册</a></li>
      						<li><a href="index.php?mod=settings&code=face">头像修改</a></li>
      						<li class="nob"><a href="index.php?mod=login&code=logout">退出</a></a></li>
      					</ul>
      				</div>
      			</span>
      		</div>
		<?php } ?>
        	<div class="w_gw"><img src="templates/app/images/t1.jpg" width="25" height="25" /><a href="guanbo.php?mod=guanbo&gbid=
<?php echo MEMBER_GUANBO ;?>">进入官博</a></div>
    	</div>
	</div>